package com.jf.blog.form.userinfo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "管理员添加或修改用户", description = "添加或修改用户")
public class UserinfoUpdateForm {
    @ApiModelProperty("用户编号")
    private Integer userinfoId;
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "昵称", required = true)
    private String nickname;
    @ApiModelProperty(value = "手机号", required = true)
    private String phone;
    @ApiModelProperty("邮箱地址")
    private String email;
    @ApiModelProperty(value = "身份证号", required = true)
    private String idcard;
    @ApiModelProperty(value = "头像地址", required = true)
    private String avatar;
    @ApiModelProperty(value = "状态", required = true, allowableValues = "1,2")
    private Integer status;
}
